home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-11-09 | 1.5 KB | 51 lines | [TEXT/MPS ] |
-
- ## SET UP THE OPENDOC INTERFACES/UTILS PATH
-
- if (`exists "{PrefsFolder}OpenDocPath"` == "")
- Set OpenDocDir `GetFileName -d -m "Where is the OpenDoc folder?"∂
- "{Boot}";Set saveStatus {Status}`
-
- if ( "{OpenDocDir}" != "" )
- Echo "{OpenDocDir}" > "{PrefsFolder}OpenDocPath"
- end
- end
-
- set OpenDocDir "`catenate "{PrefsFolder}OpenDocPath"`"
-
- if (`exists "{OpenDocDir}"` == "")
- Set OpenDocDir `GetFileName -d -m "Where is the OpenDoc folder?"∂
- "{Boot}";Set saveStatus {Status}`
-
- if ( "{OpenDocDir}" != "" )
- Echo "{OpenDocDir}" > "{PrefsFolder}OpenDocPath"
- end
- end
-
- Export OpenDocDir
-
- ## ADD THE BUILD SUPPORT FOLDER TO THE COMMAND PATH
-
- if (`exists -d "{MPW}Build Support:"` != "")
- Set Commands "{Commands},{MPW}Build Support:"
- Export Commands
- Set OpenDocBuildSupportDir "{MPW}Build Support:"
- Export OpenDocBuildSupportDir
- else if (`exists -d "{MPW}Scripts:Build Support:"` != "")
- Set Commands "{Commands},{MPW}Scripts:Build Support:"
- Export Commands
- Set OpenDocBuildSupportDir "{MPW}Scripts:Build Support:"
- Export OpenDocBuildSupportDir
- else
- Echo
- Echo '####'
- Echo '### Warning! The "Build Support" folder has not been installed'
- Echo '### yet. You will need to install this folder before building'
- Echo '### sample code parts will be possible. Please refer to the'
- Echo '### “SampleCode Read Me” document for installation instructions.'
- Echo '###'
- Echo '### Valid installation sites:'
- Echo "### ->“{MPW}” folder"
- Echo "### ->“{MPW}Scripts:” folder"
- Echo '####'
- end
-